<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class='ui'>
    <table class='table_list'>
        <tr>
			<th>选择</th>
			<th>交易时间</th>
			<th>交易号</th>
			<th>品名</th>
			<th>二维码</th>
			<th>年份</th>
			<th>批次</th>
			<th>类型</th>
			<th>往价(元)</th>
        </tr>
       	<c:forEach items="${items}" var="item">
       	<tr>
       		<td><input type="checkbox" name="ids" value="${item.item_id }"></td>
			<td title='product_name'>${item.order_date }</td>
			<td title='qrcode_id'>${item.order_no }</td>
			<td title='productionyear'>${item.product_name }</td>
			<td title='batch'>${item.qrcode_id }</td>
			<td title='myunit'>${item.productionyear }</td>
			<td title='now_price'>${item.batch }</td>
			<td title='new_price'>${item.myunit eq 0?'散装':'整装' }</td>
			<td title='discount'>${item.now_price }</td>
       	</tr>
       	</c:forEach>
    </table>
</div>